/* 
 * File:   UnitOfWorkParser.h
 * Author: max
 *
 * Created on March 30, 2013, 10:18 AM
 */

#ifndef UNITOFWORKPARSER_H
#define	UNITOFWORKPARSER_H

#include <string>
#include <exception>

#include "UnitOfWork.h"
#include "Lista.h"

using namespace std;
using namespace TP::Colecciones;

namespace TP3 { namespace Working {

#define IO_ERROR 2
    
class UnitOfWorkParser {

public:
    
    UnitOfWorkParser();
    
    virtual ~UnitOfWorkParser();
    
    UnitOfWork* parse (string path, char delimiterOfDescriptor, ostream* outPut) throw (int);
    
};

}}

#endif	/* UNITOFWORKPARSER_H */

